home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Miscellany
/
Swap.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
165b
|
15 lines
// Swap.h
#ifndef Swap_h
#define Swap_h
template <class Type>
void Swap( Type& left, Type& right )
{
Type out( left );
left = right;
right = out;
}
#endif